package PVZ;

import javax.swing.ImageIcon;

public class Images {
    public static ImageIcon background;//运行图
    public static ImageIcon welcome;//开始图
    public static ImageIcon ZombiesWon;//结尾图
    public static ImageIcon Repeater;//豌豆射手
    public static ImageIcon ConeheadZombie;//路障僵尸
    public static ImageIcon FlagZombie;//旗帜僵尸
    public static ImageIcon BucketheadZombie;//铁桶僵尸
    public static ImageIcon Zombie;//普通僵尸
    public static ImageIcon HeadWalk1;//读报僵尸
    public static ImageIcon Peashooter;//小豌豆
    public static ImageIcon title;//选择地图
    public static ImageIcon shengcun1;//选择地图:生成1
    public static ImageIcon shengcun2;//选择地图:生成2
    public static ImageIcon startgame1;//选择地图:冒险1
    public static ImageIcon startgame2;//选择地图:冒险2
    public static ImageIcon xiaoyouxi1;//选择地图:小游戏1
    public static ImageIcon xiaoyouxi2;//选择地图:小游戏2
    public static ImageIcon jiemi1;//选择地图:解密1
    public static ImageIcon jiemi2;//选择地图:解密2
    public static ImageIcon PB00;//豌豆子弹
    public static ImageIcon SnowPea;//寒冰
    public static ImageIcon SnowPeashooterBullet;//寒冰子弹
    static {
        background = new ImageIcon("buju/background.jpg");
        welcome = new ImageIcon("buju/welcome.png");
        ZombiesWon = new ImageIcon("buju/ZombiesWon.png");//
        Repeater = new ImageIcon("buju/Repeater.gif");
        ConeheadZombie = new ImageIcon("buju/ConeheadZombie.gif");

        FlagZombie = new ImageIcon("buju/FlagZombie.gif");
        BucketheadZombie  = new ImageIcon("buju/BucketheadZombie.gif");//
        Zombie = new ImageIcon("buju/Zombie.gif");
        HeadWalk1 = new ImageIcon("buju/HeadWalk1.gif");//
        Peashooter = new ImageIcon("buju/Peashooter.gif");
        title=new ImageIcon("buju/title.png");
        shengcun1=new ImageIcon("buju/shengcun1.png");
        shengcun2=new ImageIcon("buju/shengcun2.png");
        startgame1=new ImageIcon("buju/startgame1.png");
        startgame2=new ImageIcon("buju/startgame2.png");
        xiaoyouxi1=new ImageIcon("buju/xiaoyouxi1.png");
        xiaoyouxi2=new ImageIcon("buju/xiaoyouxi2.png");
        jiemi1=new ImageIcon("buju/jiemi1.png");
        jiemi2=new ImageIcon("buju/jiemi2.png");
        PB00=new ImageIcon("buju/PB00.gif");
        SnowPea=new ImageIcon("buju/SnowPea.gif");
        SnowPeashooterBullet=new ImageIcon("buju/SnowPeashooterBullet.gif");

    }

    public static void main(String[] args) {
        System.out.println(background.getImageLoadStatus());
        System.out.println(welcome.getImageLoadStatus());
        System.out.println(Zombie.getImageLoadStatus());
        System.out.println(Repeater.getImageLoadStatus());
        System.out.println(ConeheadZombie.getImageLoadStatus());
        System.out.println(FlagZombie.getImageLoadStatus());
        System.out.println(BucketheadZombie.getImageLoadStatus());
        System.out.println(ZombiesWon.getImageLoadStatus());
        System.out.println(HeadWalk1.getImageLoadStatus());
        System.out.println(Peashooter.getImageLoadStatus());
        System.out.println(title.getImageLoadStatus());
        System.out.println(shengcun1.getImageLoadStatus());
        System.out.println(shengcun2.getImageLoadStatus());
        System.out.println(startgame1.getImageLoadStatus());
        System.out.println(startgame2.getImageLoadStatus());
        System.out.println(xiaoyouxi1.getImageLoadStatus());
        System.out.println(xiaoyouxi2.getImageLoadStatus());
        System.out.println(jiemi1.getImageLoadStatus());
        System.out.println(jiemi2.getImageLoadStatus());
        System.out.println(PB00.getImageLoadStatus());
        System.out.println(SnowPea.getImageLoadStatus());
        System.out.println(SnowPeashooterBullet.getImageLoadStatus());
    }
    



}
